package socket.myRPC.util;

import socket.myRPC.rpc.protocol.MyContent;
import socket.myRPC.rpc.protocol.MyHeader;

/**
 * 整个包 的message
 *
 * @author lihh
 */
public class PackageMsg {
  private MyHeader header;
  private MyContent content;
  
  public PackageMsg(MyHeader header, MyContent content) {
    this.header = header;
    this.content = content;
  }
  
  public PackageMsg() {
  }
  
  public MyHeader getHeader() {
    return header;
  }
  
  public void setHeader(MyHeader header) {
    this.header = header;
  }
  
  public MyContent getContent() {
    return content;
  }
  
  public void setContent(MyContent content) {
    this.content = content;
  }
}
